package com.itheima.service;

import com.alibaba.dubbo.config.annotation.Service;
import com.itheima.dao.MemberDeleteDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;

@Service(interfaceClass = MemberDeleteService.class)
@Transactional
public class MemberDeleteServiceimpl implements MemberDeleteService {
@Autowired
private MemberDeleteDao memberDeleteDao;
    @Override
    public void delete(Integer id) {

            memberDeleteDao.deleteById(id);
        }


}
